package spring.jdbc;

import java.util.List;

import javax.sql.DataSource;

import spring.bean.Person;

public interface JdbcTemplateEventDao {
	
	public void init();
	
	public void setDataSource(DataSource dataSource);

	public int countOfObject(Person person);

	public Person findPerson(long id);

	public Person findPersonSimple(long id);

	public void insert();
	public List queryForList();
	
	public void addMap();
	public void addBean(Person person);
}
